Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TaskError should report which task failed #53

Merged
merged 2 commits into from
Feb 24, 2016
Merged

Conversation

younata
Copy link
Contributor

@younata younata commented Feb 23, 2016

No description provided.

@younata
Copy link
Contributor Author

younata commented Feb 23, 2016

Carthage's edge of master is broken at the moment, using this to help divine the root cause. Thought it would be helpful for anyone in the future.

@@ -12,7 +12,7 @@ import ReactiveCocoa
/// An error originating from ReactiveTask.
public enum TaskError: ErrorType {
/// A shell task exited unsuccessfully.
case ShellTaskFailed(exitCode: Int32, standardError: String?)
case ShellTaskFailed(task: Task, exitCode: Int32, standardError: String?)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove the task: label from the Task argument? The meaning of the argument should be obvious, so I don't think the label is necessary.

@mdiep
Copy link
Member

mdiep commented Feb 24, 2016

I like it. 👍 Just the one comment.

@younata
Copy link
Contributor Author

younata commented Feb 24, 2016

Done.

@mdiep
Copy link
Member

mdiep commented Feb 24, 2016

That was quick!

mdiep added a commit that referenced this pull request Feb 24, 2016
TaskError should report which task failed
@mdiep mdiep merged commit 5fbadcd into Carthage:master Feb 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants